package top.laoshuzi.android.iotcamera.camera.ui

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.navigation.Navigation
import com.alibaba.android.arouter.facade.annotation.Route
import top.laoshuzi.android.iotcamera.R
import top.laoshuzi.android.iotcamera.camera.CameraConstants

@Route(path = CameraConstants.CAMERA_ACTIVIY)
class CameraActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_camera)
    }

    override fun onSupportNavigateUp() =
        Navigation.findNavController(this, R.id.fragment_navigation_camera).navigateUp()

}
